package com.company.装饰模式2.impl;

import com.company.装饰模式2.Decorator;
import com.company.装饰模式2.Person;

public class SingDecorator extends Decorator {
    public SingDecorator(Person person) {
        super(person);
    }

    @Override
    public void work() {
        System.out.print("唱歌的");
        this.person.work();
    }
}
